Bundler\Controllers\OfferController S

Total Complexity 49
Dependencies 5
Dependents 4
Total lines 400
Lines of code 230
Logical lines of code 106
Comment lines 100
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
update_offer()
A
41 9 55
new_offer()
A
41 9 54
delete_offers()
S
62 4 12
get_offer()
S
57 3 17
get_custom_variant_discount()
S
65 4 9
get_offer_products()
S
63 3 11
get_the_offer()
S
57 2 18
get_bundle_by_offer_id()
S
68 3 7
delete_offer()
S
61 2 13
__construct()
S
71 2 6
get_the_discounts()
S
67 2 8
get_the_discounts_desc()
S
67 2 8
get_all_offers()
S
81 1 3
get_qty_discount_offers()
S
81 1 3
get_discounts_by_offer_id()
S
80 1 3
update_offer_status()
S
80 1 3